// 引用页面模板
import loading from '../components/loading/index.vue'
import createLoadingLikeDirective from './create-loading-like-directive'

// 把loading组件作为参数输入到指令文件中，等下生成一个丰富和指令的对象，传递到main.js中
console.log(loading,"loading")
const loadingDirective = createLoadingLikeDirective(loading)

export default loadingDirective